package com.ruoyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 消费记录对象 vehicle_bill
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class VehicleBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消费主键 */
    private Long id;

    /** 司机外键 */
    @Excel(name = "司机外键")
    private Long driverId;

    /** 乘客外键 */
    @Excel(name = "乘客外键")
    private Long passengerId;

    /** 支付单号 */
    @Excel(name = "支付单号")
    private String billNumber;

    /** 消费事件 */
    @Excel(name = "消费事件")
    private String billIncident;

    /** 消费金额 */
    @Excel(name = "消费金额")
    private BigDecimal billMoney;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setPassengerId(Long passengerId) 
    {
        this.passengerId = passengerId;
    }

    public Long getPassengerId() 
    {
        return passengerId;
    }
    public void setBillNumber(String billNumber) 
    {
        this.billNumber = billNumber;
    }

    public String getBillNumber() 
    {
        return billNumber;
    }
    public void setBillIncident(String billIncident) 
    {
        this.billIncident = billIncident;
    }

    public String getBillIncident() 
    {
        return billIncident;
    }
    public void setBillMoney(BigDecimal billMoney) 
    {
        this.billMoney = billMoney;
    }

    public BigDecimal getBillMoney() 
    {
        return billMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverId", getDriverId())
            .append("passengerId", getPassengerId())
            .append("billNumber", getBillNumber())
            .append("billIncident", getBillIncident())
            .append("billMoney", getBillMoney())
            .append("createTime", getCreateTime())
            .toString();
    }
}
